package team.first.movieapiv3pro.movie;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.neo4j.ogm.annotation.Id;
import org.neo4j.ogm.annotation.NodeEntity;

/**
 * @Author: HAPPY
 * @Project_name: project
 * @Package_name: team.first.movieapiv3.domain
 * @Date: 2021/12/22 13:34
 * @Description:
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@NodeEntity(label = "Staff")
public class Cast {

    @Id
    @ApiModelProperty(value = "演职员编号", example = "1351356")
    private Integer id;

    @ApiModelProperty(value = "演职员中文名", example = "吴京")
    private String chineseName;

    @ApiModelProperty(value = "演职员英文名", example = "WuJing")
    private String englishName;

    @ApiModelProperty(value = "片中饰演角色名", example = "冷锋")
    private String actAs;

    @ApiModelProperty(value = "影人豆瓣海报地址", example = "https://movie.douban.com/subject/24753810/photos?type=R")
    private String avatarUrl;

    @ApiModelProperty(value = "影人本地海报文件名", example = "1351356.jpg")
    private String avatar;


}
